@import url('../common/common.css');

html,
#kuiper_app,
.App {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}
body {
	height: 100%;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html body,
html h1,
html h2,
html h3,
html h4,
html h5,
html h6,
html p,
html dl,
html dd,
html form,
html legend,
html ul,
html ol,
html fieldset {
	margin: 0;
	padding: 0;
}

code {
	font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
		monospace;
}

.kuiper-content > div:only-child {
	min-width: calc(1280px - 13rem);
}

.scanv-page-container {
	margin: 1.5rem;
	background: var(--color-bg-1);
	border-radius: 2px;
	box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}
mark {
	background-color: transparent !important;
}
p {
	margin: 0;
	padding: 0;
}
table {
	border-collapse: separate;
}
:global {
	.ant-picker.ant-picker-focused {
		border-color: #0b6fd6;
		box-shadow: none;
	}
}
.rc-select-dropdown-menu-item {
	line-height: 1.5715 !important;
}
.ant-spin-nested-loading > div > .ant-spin {
	max-height: unset !important;
	.rc-modal-loading {
		background-color: unset !important;
	}
}

header {
	.rc-tooltip-inner {
		background-color: #2a2b32 !important;
	}
	.rc-tooltip-arrow {
		border-color: #2a2b32 !important;
	}
	& > a {
		padding-left: 16px !important;
	}
}
a:hover {
	text-decoration: none !important;
}
.tableFormat {
	thead tr {
		box-shadow: none !important;
	}
	th {
		padding: 0.5rem 1.25rem !important;
		color: #51616e !important;
		font-size: 14px !important;
		border-bottom: 1px solid var(--color-border-2);
	}
}
#kuiperApp {
	height: unset !important;
	overflow: auto !important;
}
.primary-btn {
	color: #686c78 !important;
	border-color: #cbd1da !important;
	&:hover {
		color: #0b6fd6 !important;
		border-color: #0b6fd6 !important;
	}
	&.disabled {
		color: #999ea8 !important;
		background-color: #e7eaef !important;
		border: none !important;
		cursor: not-allowed !important;
	}
}
.not-allowed-style {
	color: #999ea8;
	cursor: not-allowed;
}
.small-table {
	.ant-table-tbody {
		position: relative;
	}
	.ant-table-thead > tr,
	.ant-table-tbody > tr {
		> td,
		> th {
			max-width: 120px;
			padding: 12px !important;
		}
		&.ant-table-measure-row > td {
			padding: 0px !important;
		}
	}
	.ant-table-fixed-column .ant-table-tbody > tr.ant-table-row:hover > td,
	.ant-table-tbody > tr > td.ant-table-cell-row-hover {
		background: #fff !important;
		&.ant-table-cell-fix-left,
		&.ant-table-cell-fix-right {
			background: #fff !important;
		}
	}
	.ant-table-cell-fix-left,
	.ant-table-cell-fix-right {
		overflow: unset !important;
	}
	.ant-table-filter-dropdown .ant-dropdown-menu:empty::after {
		content: '暂无数据';
	}
}
.level-item {
	width: 64px;
	height: 24px;
	line-height: 22px;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 12px;
	&.level_2 {
		color: #fed831;
		border-color: #fed831;
	}
	&.level_3 {
		color: #f67e23;
		border-color: #f67e23;
	}
	&.level_4 {
		color: #f00;
		border-color: #f00;
	}
	&.level_5 {
		color: #bb0707;
		border-color: #bb0707;
	}
}
.small-tab {
	&.ant-tabs .ant-tabs-tab {
		padding: 10px 0;
	}
	.ant-table-wrapper {
		min-height: auto !important;
	}
	.ant-tabs-tab + .ant-tabs-tab {
		margin: 0 0 0 16px;
	}
}
